package xyz.labmem.main.modular.app.rmfk.entity

import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.annotion.SocketPath
import xyz.labmem.base.core.annotion.SqlColumn
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*

/**
 * @Author lty
 * @Date 2022/1/25 17:33
 */
@SocketPath("true",order=54)
@TableName("rfb_rfzdfhcscjb")
@ApiModel(value = "人防办_人防重点防护城市采集表")
class App_rfbrfzdfhcscjb : GFBaseEntity<App_rfbrfzdfhcscjb>() {
    @SqlColumn
    @TableField("DQMC")
    @ApiModelProperty(value = "地区名称")
    @ExcelProperty("地区名称")
    var DQMC: String? = null

    @TableField("FHDJ")
    @ApiModelProperty(value = "防护等级")
    @ExcelProperty("防护等级")
    var FHDJ: String? = null

    @TableField("DQJB")
    @ApiModelProperty(value = "地区级别")
    @ExcelProperty("地区级别")
    var DQJB: String? = null

    @TableField("CZRKS_WR")
    @ApiModelProperty(value = "常住人口数(万人)")
    @ExcelProperty("常住人口数_万人")
    var CZRKSWR: String? = null
    @SqlColumn
    @TableField("KZRFGZQK")
    @ApiModelProperty(value = "开展人防工作情况")
    @ExcelProperty("开展人防工作情况")
    var KZRFGZQK: String? = null

    @TableField("tbrq")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat("yyyy-MM-dd")
    @ApiModelProperty(value = "填表日期")
    @ExcelProperty("填表日期")
    var tbrq: Date? = null

    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    @ExcelProperty("所属辖区")
    var SSXQ: String? = null

}